package com.qf.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/*
            敲得越多，钱越多！！！
            敲得越多，钱越多！！！
            敲得越多，钱越多！！！
*/

//角色和菜单栏为多对多的关系，需要第三张表来维持他们的关系
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Menu {

    private Integer menuId;
    private String menuName;
    private Integer upmenuId;
    private String url;
    private Integer  status;
    private String content;

    private List<Role> roleList;

    //保存二级菜单
    private List<Menu> secondMenu;
}
